const { query } = require("../db/query")
module.exports = {
  // 获取分类数据
  getCategory: async () => {
    // 调用query发送sql语句到mysql进行注册用户
    return await query("select * from petcategory;")
  },
}